﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace NETMovie.UI.WebMVC.Models
{
    /// <summary>
    /// This View Model contains information for the EditProfile View.
    /// </summary>
    public class EditProfileViewModel
    {
        /// <summary>
        /// Gets or sets the user name of the user.
        /// </summary>
        [Required]
        [DisplayName("User name")]
        public string UserName
        {
            get;
            set;
        }

        /// <summary>
        /// Get or sets the email address of the user.
        /// </summary>
        [Required]
        [DisplayName("Email")]
        public string Email
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the address line 1 of billing address.
        /// </summary>
        [Required]
        [DisplayName("Address Line 1")]
        public string AddressLine1
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the address line 2 of billing address.
        /// </summary>
        [DisplayName("Address Line 2")]
        public string AddressLine2
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the City of billing address.
        /// </summary>
        [DisplayName("City")]
        public string City
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the Country of billing address.
        /// </summary>
        [Required]
        [DisplayName("Country")]
        public string Country
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the Postal Code of billing address.
        /// </summary>
        [Required]
        [DisplayName("Postal Code")]
        public string PostalCode
        {
            get;
            set;
        }

        /// <summary>
        /// List of countries populated in the Country drop down list box.
        /// </summary>
        public IEnumerable<SelectListItem> Countries
        {
            get;
            set;
        }
    }
}